<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
	content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>菜单界面</title>
<link rel="stylesheet" type="text/css"
	href="<c:url value="/static/jquery-easyui-mobile/themes/default/easyui.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/static/jquery-easyui-mobile/themes/mobile.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/static/jquery-easyui-mobile/themes/icon.css"/>">
<script type="text/javascript"
	src="<c:url value="/static/jquery-easyui-mobile/jquery.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/static/jquery-easyui-mobile/jquery.easyui.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/static/jquery-easyui-mobile/jquery.easyui.mobile.js"/>"></script>
	
	<script>
	function selectMater(){
		window.location.href='<c:url value="/jsp-mobile/supplier/distributeMater_mobile.jsp"/>';
	}
	function selectMaterId(){
        window.location.href='<c:url value="/jsp-mobile/supplier/findMaterId_mobile.jsp"/>';
    }
	function materOrder(){
        window.location.href='<c:url value="/jsp-mobile/ordermanage/customOrderMaterIndex_mobile.jsp"/>';
    }
	function turnover(){
        window.location.href='<c:url value="/jsp-mobile/turnover/turnoverListForCust_mobile.jsp"/>';
    }
	function unusual(){
        window.location.href='<c:url value="/jsp-mobile/supplier/excelSupperLookForCost_mobile.jsp"/>';
    }
	function order(){
        window.location.href='<c:url value="/jsp-mobile/ordermanage/customOrderForSup_mobile.jsp"/>';
    }
	function distributorOrder(){
        window.location.href='<c:url value="/jsp-mobile/ordermanage/distributorOrderIndexForSup_mobile.jsp"/>';
    }
	function distributorOrder1(){
        window.location.href='<c:url value="/jsp-mobile/ordermanage/distributorOrderIndex_mobile.jsp"/>';
    }
	</script>
</head>
<body>
	<div class="easyui-navpanel">
		<header>
			<div class="m-toolbar">
				<span class="m-title">菜单界面 </span><c:out value="${sessionScope.user.realName}" />
			</div>
		</header>
		<div class="easyui-accordion"
			data-options="fit:true,border:false,selected:-1">
			<div>
				<header>
					<div class="hh-inner">
						<span>分货管理</span> <span class="m-badge" style="float: right">分货查询，查看订单等</span>
					</div>
				</header>
				<ul class="m-list">
					<li onclick="selectMater()">分货材料查询</li>
				</ul>
				<ul class="m-list">
                    <li onclick="selectMaterId()">材料id查询</li>
                </ul>
			</div>
			<div>
                <header>
                    <div class="hh-inner">
                        <span>报价管理</span> <span class="m-badge" style="float: right">查看以往报价，导出</span>
                    </div>
                </header>
                <ul class="m-list">
                    <li onclick="unusual()">报价导出</li>
                </ul>
            </div>
			<div>
				<header>
					<div class="hh-inner">
						<span>营业额管理</span> <span class="m-badge" style="float: right">录入营业额，查看营业额</span>
					</div>
				</header>
				<ul class="m-list">
					<li onclick="turnover()">营业额操作</li>
				</ul>
			</div>
			
			<div>
                <header>
                    <div class="hh-inner">
                        <span>订单</span> <span class="m-badge" style="float: right">客户订单，分货商订单，供货商订单</span>
                    </div>
                </header>
                <ul class="m-list">
                    <li onclick="order()">客户订单</li>
                    <li onclick="distributorOrder()">分销商订单</li>
                    <li onclick="distributorOrder1()">供货商订单</li>
                </ul>
            </div>
		</div>
	</div>
	<style scoped>
.hh-inner {
	position: relative;
	line-height: 20px;
	background: #fff;
	font-weight: bold;
	margin: -5px;
	padding: 5px;
}
</style>
</body>
</html>